// ****************************************************************
// Copyright 2012, Stephan Burguchev
// e-mail: me@sburg.net
// ****************************************************************
// *
using System;

namespace Updater.Common
{
    public class UpdatesMonitoringErrorEventArgs : EventArgs
    {
        public UpdatesMonitoringErrorEventArgs(Exception exception, bool stopLoop)
        {
            if (exception == null)
            {
                throw new ArgumentNullException("exception");
            }

            this.Exception = exception;
        }

        public Exception Exception { get; private set; }

        public bool StopLoop { get; set; }
    }
}
